package com.neusoft.neuiotms.dcom.constants;

public class DCOMConstants {
    public static final String PERCENT = "%";
    /** 通知类型 系统通知 */
    public static final String INFORM_TYPE_NOTICE = "notice";
    /** 通知类型 短信通知 */
    public static final String INFORM_TYPE_MESSAGE = "message";
    /** 通知类型 邮件通知 */
    public static final String INFORM_TYPE_MAIL = "email";
    /** 通知类型 电话通知 */
    public static final String INFORM_TYPE_PHONE = "phone";
    /** 通知类型 微信通知 */
    public static final String INFORM_TYPE_WECHAT = "wechat";
    /** 逗号分隔符 */
    public static final String COMMA_SPILT = ",";
    /** 维护计划号编码 */
    public static final String MAINTAIN_PLAN_CODE = "WHP_CODE";
    /** 维护任务号编码 */
    public static final String MAINTAIN_TASK_CODE = "WHT_CODE";
    /** 维护规则编码 */
    public static final String MAINTAIN_RULE_CODE = "WHR_CODE";
    /** 维护任务号名称 */
    public static final String MAINTAIN_TASK_NAME = "%s-计划-任务";
    /** 系统任务名称 */
    public static final String SYSTEM_TASK_NAME = "%s-维护计划";
    /** 维护计划管理 */
    public static final String MAINTAIN_PLAN_MANAGE = "维护计划管理";

    /** MaintainPlan数据创建更新事件总线标识 */
    public static final String MAINTAINPLAN_EVENTBUS_ID = "MAINTAINPLAN-EBUS";

    // --------------------------------巡检 START-------------------------------------------------
    /** 值类型 **/
    public static final String INSPECTION_VALUE_TYPE = "inspectionValueType";
    /** 值类型 **/
    public static final String INSPECTION_ITEM_VALUE_TYPE_NUMBER = "number";
    /** 值类型 **/
    public static final String INSPECTION_ITEM_VALUE_TYPE_STRING = "string";
    /** 逗号分隔符-全角 **/
    public static final String INSPECTION_COMMA_CHINESE = "，";
    /** 逗号分隔符-半角 **/
    public static final String INSPECTION_COMMA_ENGLISH = ",";
    /** 巡检超时设置 **/
    public static final String INSPECTION_OVERTIME_TYPE = "inspectionOverTime";
    public static final String INSPECTION_OVERTIME = "overTimeHour";
    // --------------------------------巡检 END-------------------------------------------------

    /** 资产状态 **/
    public static final String KNOWLEDGE_STATUS = "knowledgeStatus";
    /** JOB **/
    public static final String JOB_DESCRIPTION = "根据维护计划生成任务，计划编码：";
    /** 维护 **/
    public static final String YOU_MAINTAIN_TASK = "您有维护任务";
    public static final String MAINTAIN_TASK = "维护任务";
    public static final String PEROID_MAINTAIN_TASK = "周期维护任务";
    public static final String TEMPORARY_MAINTAIN_TASK = "临时维护任务";
    public static final String MAINTAIN_OBJECT =
            DCOMConstants.COMMA_SPILT + "维护对象是" + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_RESULT_EXPORT = "维护任务查询结果导出";
    public static final String MAINTAIN_TASK_STOP_SERVICE_NOTICE = "维护任务停止服务通知";
    public static final String STOP_SERVICE_NOTICE = "停止服务通知";
    public static final String MAINTAIN_DEPARTMENT =
            DCOMConstants.COMMA_SPILT + "维护部门 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_LOCATION =
            DCOMConstants.COMMA_SPILT + "维护地点 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String STOP_SERVICE_TIME =
            DCOMConstants.COMMA_SPILT + "停止服务时间 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_START_TIME =
            DCOMConstants.COMMA_SPILT + "维护开始时间 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_END_TIME =
            DCOMConstants.COMMA_SPILT + "维护结束时间 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_CONTENT =
            DCOMConstants.COMMA_SPILT + "维护内容 " + DCOMConstants.MAINTAIN_LEFT_MIDDLE_BRACKETS;
    public static final String MAINTAIN_RIGHT_MIDDLE_BRACKETS = "]";
    public static final String MAINTAIN_LEFT_MIDDLE_BRACKETS = "[";
    /** 运维组长 */
    public static final String ROLE_WORKER_GROUP_LEADER = "workerGroupLeader";
    /** 一线运维人员 */
    public static final String ROLE_WORKER = "worker";
    /** 专家组组长 */
    public static final String ROLE_EXPERT_GROUP_LEADER = "expertGroupLeader";
    /** 专家 */
    public static final String ROLE_EXPERT = "expert";
    /** 机动人员 */
    public static final String ROLE_BACKUP = "backup";
    /** 项目主管 */
    public static final String ROLE_ZONGJIAN = "zongjian";
    /** 项目主管 */
    public static final String ROLE_ADMIN = "admin";
    /** 大数据日志填报人员 */
    public static final String ROLE_BIGDATA_BUREAU = "bigdataBureau";

    /** 事件级别 ***/
    public static final String HN_EVENT_GRADE = "eventgrade";

    /** NULL 字符串 */
    public static final String STR_NULL = "NULL";
    /** temporary 字符串 */
    public static final String STR_TEMPORARY = "temporary";

    //----------------------------------excel 设置 start--------------------------------
    /** 模板导出添加下拉框默认最大行数 */
    public static final Integer ASSET_CONSTRAINT_ROW_65535 = 65535;
    /** 模板导出添加下拉框默认开始行数 */
    public static final Integer ASSET_START_CONSTRAINT_ROW_FIRST = 1;

    public static final String DICTIONARY_SPLITOR = "_";
    /** 日报导入模板 **/
    public static final String WORK_DAILY_TEMPLATE_NAME = "日报导入模板";
    /** 日报导出 **/
    public static final String WORK_DAILY_NAME = "日报导出";
    /** 日报导出标题 **/
    public static final String WORK_DAILY_TITLE = "海南省省直单位运行维护服务工作日志";
    /** 日报事件级别列 **/
    public static final int WORK_DAILY_EVENT_LEVEL_NO = 11;
    /** 日报服务类型列 **/
    public static final int WORK_DAILY_SERVICE_TYPE_NO = 7;
    /** 日报服务属性列 **/
    public static final int WORK_DAILY_SERVICE_ATTRIBUTES_NO = 8;
    /** 日报事件处理人列 **/
    public static final int WORK_DAILY_OPERATOR_NO = 6;
    /** 日报单位列 **/
    public static final int WORK_DAILY_UNIT_NO = 1;
    /** 日报运维组列 **/
    public static final int WORK_DAILY_GROUP_NO = 2;
    /** 日报需要校验的列 **/
    public static final int[] WORK_DAILY_CONSTRAINT = {
            DCOMConstants.WORK_DAILY_UNIT_NO,
            DCOMConstants.WORK_DAILY_GROUP_NO,
            DCOMConstants.WORK_DAILY_OPERATOR_NO,
            DCOMConstants.WORK_DAILY_SERVICE_TYPE_NO,
            DCOMConstants.WORK_DAILY_SERVICE_ATTRIBUTES_NO,
            DCOMConstants.WORK_DAILY_EVENT_LEVEL_NO
    };
    /** 移交服务周报导入模板 **/
    public static final String TRANSFER_IMPORT_TEMPLATE_NAME = "移交服务周报导入模板";
    /** 移交服务周报单位列 **/
    public static final int TRANSFER_DAILY_UNIT_NO = 1;
    /** 运维支撑服务周报导入模板 **/
    public static final String OPERATION_IMPORT_TEMPLATE_NAME = "运维支撑服务周报导入模板";
    /** 移交服务周报单位列 **/
    public static final int OPERATION_WEEKLY_UNIT_NO = 0;
    /** 移交服务周报报告人列 **/
    public static final int OPERATION_WEEKLY_REPORTER_NO = 2;
    //----------------------------------excel 设置 end--------------------------------

    // --------------------------------故障工单 START-------------------------------------------------
    /** 故障工单KEY */
    public static final String MALFUNCTION_PROCESS_KEY = "malfunction";
    /** 流程变量 一线审批人 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_FRONT_LINE_ENGINEER_CODE = "frontlineEngineerCode";
    /** 流程变量 运维组长审批人 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_OPERATION_TEAMLEADER = "teamLeader";
    /** 流程变量 二线组长审批人编码 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_SECOND_GROUP_LEADER_OPERATOR_CODE =
            "secondGroupLeaderOperatorCode";
    /** 流程变量 二线组长审批人名称 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_SECOND_GROUP_LEADER_OPERATOR_NAME =
            "secondGroupLeaderOperatorName";
    /** 流程变量 二线审批人编码 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_SECOND_OPERATOR_CODE = "secondOperatorCode";
    /** 流程变量 二线审批人名称 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_SECOND_OPERATOR_NAME = "secondOperatorName";
    /** 流程变量 转派之后的二线审批人编码 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_TRANSFER_SECOND_OPERATOR_CODE =
            "transferSecondOperatorCode";
    /** 流程变量 转派之后的二线审批人名称 */
    public static final String MALFUNCTION_PROCESS_EXECUTOR_TRANSFER_SECOND_OPERATOR_NAME =
            "transferSecondOperatorName";
    /** 流程变量 一线是否已解决 */
    public static final String MALFUNCTION_PROCESS_FIRST_LINE_WHETHER_SOLVE = "firstLineWhetherSolve";
    /** 流程变量 运维组长是否同意 */
    public static final String MALFUNCTION_PROCESS_WHETHER_AGREE = "whetherAgree";
    /** 流程变量 运维组长是否转二线 */
    public static final String MALFUNCTION_PROCESS_WHETHER_TRANSFER = "whetherTransfer";
    /** 流程变量 二线是否转派 */
    public static final String MALFUNCTION_PROCESS_SECOND_LINE_WHETHER_TRANSFER = "secondLineWhetherTransfer";
    /** 流程变量 二线是否同意 */
    public static final String MALFUNCTION_PROCESS_SECOND_LINE_WHETHER_AGREE = "secondLineWhetherAgree";

    /** 流程变量 组长或者主管是否通过 */
    public static final String MALFUNCTION_PROCESS_LEADER_OR_SUPERVISOR_AGREES = "leaderOrSupervisorAgrees";

    /** 参与工程师编码 */
    public static final String MALFUNCTION_PROCESS_HELPER_ENGINEER_CODE = "helperEngineerCode";
    /** 参与工程师名称 */
    public static final String MALFUNCTION_PROCESS_HELPER_ENGINEER_NAME = "helperEngineerName";
    // --------------------------------故障工单 END-------------------------------------------------

    /** 服务类型字典编码 **/
    public static final String SERVICE_TYPE = "worktype";
    /** 巡检项字典编码 **/
    public static final String HN_INSPECTION_ITEM_TYPE = "hnInspectionItemType";

    /** 海南项目编码 **/
    public static final String HN = "HN";

    /** 海南巡检关键字 **/
    public static final String HN_INSPECTION_DAY_CRON_TIME = "hnInspectionDayCronTime";

    public static final String HN_INSPECTION_HEALTH_CRON_TIME = "hnInspectionHealthCronTime";

    /** 一线运维组长编码 **/
    public static final String WORKER_GROUP_LEADER = "workerGroupLeader";

    /** 正常 **/
    public static final String HN_INSPECTION_ITEM_STATUS_NORMAL = "正常";

    /** 异常 **/
    public static final String HN_INSPECTION_ITEM_STATUS_EXCEPTION = "异常";

    // --------------------------------变更工单 START-------------------------------------------------
    /** 变更工单KEY */
    public static final String ALTER_PROCESS_KEY = "alter";
    /** 流程变量 一线审批人 */
    public static final String ALTER_PROCESS_EXECUTOR_FRONT_LINE_ENGINEER_CODE = "frontlineEngineerCode";
    /** 流程变量 运维组长审批人 */
    public static final String ALTER_PROCESS_EXECUTOR_OPERATION_TEAMLEADER = "teamLeader";
    /** 流程变量 二线组长审批人编码 */
    public static final String ALTER_PROCESS_EXECUTOR_SECOND_GROUP_LEADER_OPERATOR_CODE =
            "secondGroupLeaderOperatorCode";
    /** 流程变量 二线组长审批人名称 */
    public static final String ALTER_PROCESS_EXECUTOR_SECOND_GROUP_LEADER_OPERATOR_NAME =
            "secondGroupLeaderOperatorName";
    /** 流程变量 二线审批人编码 */
    public static final String ALTER_PROCESS_EXECUTOR_SECOND_OPERATOR_CODE = "secondOperatorCode";
    /** 流程变量 二线审批人名称 */
    public static final String ALTER_PROCESS_EXECUTOR_SECOND_OPERATOR_NAME = "secondOperatorName";
    /** 流程变量 转派之后的二线审批人编码 */
    public static final String ALTER_PROCESS_EXECUTOR_TRANSFER_SECOND_OPERATOR_CODE =
            "transferSecondOperatorCode";
    /** 流程变量 转派之后的二线审批人名称 */
    public static final String ALTER_PROCESS_EXECUTOR_TRANSFER_SECOND_OPERATOR_NAME =
            "transferSecondOperatorName";
    /** 流程变量 一线是否已解决 */
    public static final String ALTER_PROCESS_FIRST_LINE_WHETHER_SOLVE = "firstLineWhetherSolve";
    /** 流程变量 运维组长是否同意 */
    public static final String ALTER_PROCESS_WHETHER_AGREE = "whetherAgree";
    /** 流程变量 运维组长是否转二线 */
    public static final String ALTER_PROCESS_WHETHER_TRANSFER = "whetherTransfer";
    /** 流程变量 二线是否转派 */
    public static final String ALTER_PROCESS_SECOND_LINE_WHETHER_TRANSFER = "secondLineWhetherTransfer";
    /** 流程变量 二线是否同意 */
    public static final String ALTER_PROCESS_SECOND_LINE_WHETHER_AGREE = "secondLineWhetherAgree";

    /** 流程变量 组长或者主管是否通过 */
    public static final String ALTER_PROCESS_LEADER_OR_SUPERVISOR_AGREES = "leaderOrSupervisorAgrees";

    /** 参与工程师编码 */
    public static final String ALTER_PROCESS_HELPER_ENGINEER_CODE = "helperEngineerCode";
    /** 参与工程师名称 */
    public static final String ALTER_PROCESS_HELPER_ENGINEER_NAME = "helperEngineerName";
    // --------------------------------变更工单 END-------------------------------------------------
}
